package job;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
/**
* @Title: SimpleQuartzJob.java
* @Package cn.maitian.bss.quartz.job.SimpleQuartzJob
* @Description: 测试工作任务类
* @author 孔庆胜   
* @date 2015-6-24 下午5:50:35
* @version V1.0
*/
public class SimpleQuartzJob implements Job{
	
	Log log = LogFactory.getLog(SimpleQuartzJob.class);
    public SimpleQuartzJob() {
    }

    public void execute(JobExecutionContext context){   
    	try {
			Thread.sleep(5000);
		} catch (Exception e) {
			log.error("定时任务执行错误,执行类："+this.getClass().getName(), e);
		}
    }
	
}
